package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.project.bean.EmployeeBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface IEmployeeMapper extends BaseMapper<EmployeeBean> {

    public IPage<EmployeeBean> cutByItem(Page pg,
                                         @Param("name") String name,
                                         @Param("dept") String dept);
}
